﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Digitalmes.Model.EquipmentManagement;
using Digitalmes.Model;
namespace Digitalmes.ViewModel.EquipmentManagement.EquipAlarmRecordVMs
{
    public partial class EquipAlarmRecordSearcher : BaseSearcher
    {
        
        [Display(Name = "_Model._EquipAlarmRecord._ProductId")]
        public long? ProductId { get; set; }
        [Display(Name = "_Model._EquipAlarmRecord._Equipment")]
        public long? EquipmentId { get; set; }
        [Display(Name = "_Model._EquipAlarmRecord._EquipCode")]
        public string EquipCode { get; set; }
        [Display(Name = "_Model._EquipAlarmRecord._EquipName")]
        public string EquipName { get; set; }
        [Display(Name = "_Model._EquipAlarmRecord._OpCode")]
        public string OpCode { get; set; }
        [Display(Name = "_Model._EquipAlarmRecord._Address")]
        public string Address { get; set; }
        [Display(Name = "_Model._EquipAlarmRecord._Bits")]
        public int? Bits { get; set; }
        [Display(Name = "_Model._EquipAlarmRecord._Content")]
        public string Content { get; set; }
        [Display(Name = "_Model._EquipAlarmRecord._Level")]
        public AlarmLevelEnum? Level { get; set; }
        [Display(Name = "_Model._EquipAlarmRecord._Classify")]
        public AlarmTypeEnum? Classify { get; set; }
        [Display(Name = "_Model._EquipAlarmRecord._Duration")]
        public decimal? Duration { get; set; }
        [Display(Name = "_Model._EquipAlarmRecord._Status")]
        public AlarmStatusEnum? Status { get; set; }
        [Display(Name = "_Model._EquipAlarmRecord._StartTime")]
        public DateRange StartTime { get; set; }
        [Display(Name = "_Model._EquipAlarmRecord._EndTime")]
        public DateRange EndTime { get; set; }

        protected override void InitVM()
        {
            

        }
    }

}